package com.ldl.origami.domain;

import java.util.Date;

public class Tutorial {
    private Integer id;

    private String title;

    private String introduce;

    private String titleImgPath;

    private String auditing;

    private String userName;

    private Date createTime;

    private Date auditTime;

    private String videourl;

    private Integer category;

    private Integer scorecount;

    private Integer totalscore;

    private Integer views;

    private Integer stores;

    private String content;

    /**
     * 判断是否被收藏
     */
    private boolean isStored = false;

    /**
     * 是否通过审核
     */
    private boolean isAudited = true;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce == null ? null : introduce.trim();
    }

    public String getTitleImgPath() {
        return titleImgPath;
    }

    public void setTitleImgPath(String titleImgPath) {
        this.titleImgPath = titleImgPath == null ? null : titleImgPath.trim();
    }

    public String getAuditing() {
        return auditing;
    }

    public void setAuditing(String auditing) {
        this.auditing = auditing == null ? null : auditing.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public String getVideourl() {
        return videourl;
    }

    public void setVideourl(String videourl) {
        this.videourl = videourl == null ? null : videourl.trim();
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public Integer getScorecount() {
        return scorecount;
    }

    public void setScorecount(Integer scorecount) {
        this.scorecount = scorecount;
    }

    public Integer getTotalscore() {
        return totalscore;
    }

    public void setTotalscore(Integer totalscore) {
        this.totalscore = totalscore;
    }

    public Integer getViews() {
        return views;
    }

    public void setViews(Integer views) {
        this.views = views;
    }

    public Integer getStores() {
        return stores;
    }

    public void setStores(Integer stores) {
        this.stores = stores;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public boolean isStored() {
        return isStored;
    }

    public void setStored(boolean isStored) {
        this.isStored = isStored;
    }

    public boolean isAudited() {
        return isAudited;
    }

    public void setAudited(boolean isAudited) {
        this.isAudited = isAudited;
    }
}